ImportWP\Common\Filesystem\Filesystem A

Total Complexity 59
Dependencies 6
Dependents 4
Total lines 288
Lines of code 198
Logical lines of code 135
Comment lines 18
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
download_file()
B
39 16 62
check_mime_header()
A
56 12 18
upload_file()
S
50 6 26
copy()
S
52 6 23
get_temp_directory()
S
60 5 13
file_exists()
S
58 4 15
copy_file()
S
57 3 16
get_filetype_from_ext()
S
64 3 10
get_filetype()
S
69 2 7
__construct()
S
76 1 4
get_file_mime()
S
75 1 4